package com.learning.rpc.sms.service;

import com.learning.rpc.api.sms.SmsService;
import com.learning.rpc.config.annocation.RpcService;

import java.util.UUID;

/**
 * ClassName: OrderService
 * Description:
 * Date: 2022/5/10 21:46 【需求编号】
 *
 * @author Sam Sho
 * @version V1.0.0
 */
@RpcService
public class SmsServiceImpl implements SmsService {

    @Override
    public String send(String mobile, String msg) {
        System.out.println("发送短信：" + mobile + msg);
        return "短信发送成功，" + UUID.randomUUID().toString();
    }
}
